package routers

import (
	"beday20/controllers"
	beego "github.com/beego/beego/v2/server/web"
)

func init() {
	beego.Router("/", &controllers.MainController{})

	beego.Router("/user/login", &controllers.UserController{}, "POST:Login")

	beego.Router("/shop/list", &controllers.ShopController{}, "GET:List")
	beego.Router("/shop/del", &controllers.ShopController{}, "POST:Del")
}
